package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.CommissionAuthority;
import com.zhijian.medical.entity.vo.request.CommissionAuthoritySearchVo;
import com.zhijian.medical.entity.vo.response.CommissionAuthorityVo;

import java.util.List;

public interface CommissionAuthorityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CommissionAuthority record);

    int insertSelective(CommissionAuthority record);

    CommissionAuthority selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommissionAuthority record);

    int updateByPrimaryKey(CommissionAuthority record);

    int count(CommissionAuthoritySearchVo commissionAuthoritySearchVo);

    List<CommissionAuthorityVo> selectList(CommissionAuthoritySearchVo commissionAuthoritySearchVo);

    CommissionAuthorityVo selectVoById(Long id);
}